<{extends file="BaseHtml.tpl.html"}>
<{block name=head}>
<{/block}>
<{block name=content}>
<div class="span12">
<div class="navbar margin10tb" >
  <div class="navbar-inner">
    <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <div class="nav-collapse collapse navbar-responsive-collapse">
       <a class="brand" href="#" style="color:#333;font-size:14px;padding:0 10px;line-height: 40px;">嘉宾库</a>
         <ul class="nav">
           <li><a class="systembutton" act="list" key="event" href="#">活动列表</a></li>
           <li class="active"><a href="#" >嘉宾库</a></li>
         </ul>
         <ul class="nav pull-right">
           <li class="divider-vertical"></li>
           <li><a class="systembutton" act="list" key="dashboard" href="#">返回首页</a></li>
         </ul>
       </div><!-- /.nav-collapse -->
     </div>
  </div>
</div>
	<!-- Datatable -->
	<div class="dtdiv">
	<table class="table table-hover table-bordered" style="border:1px solid #999;background: white;">
	    <thead>
	        <tr>
	            <td colspan="9" class="">
	                <div class="datatablemsg nodisplay pull-left"></div>
	                <div class="btn-group pull-right margin5" data-toggle="buttons-radio">
	                  <button type="button" class="btn btn-primary jumprow" key="10">10</button>
	                  <button type="button" class="btn btn-primary jumprow" key="20">20</button>
	                  <button type="button" class="btn btn-primary jumprow" key="50">50</button>
	                </div>
	                <div class="input-append pull-right margin5">
	                    <input type="hidden" id="cdtion" value=""/>
	                    <input type="text" class="span2" id="searchkey">
	                    <button type="button" class="btn btn-primary" id="go">名称查询</button>
	                    <button type="button" class="btn btn-primary" id="dialog_create">新增嘉宾</button>
	                </div>
	             </td>
	        </tr>
	        <tr class="trcolumn">
	            <!-- <td class="table_selecter"><input type="checkbox" name="table_checkbox_select" class="table_checkbox_select" /></td> -->
	            <td></td>
	            <td class="orderkey hover" key="name" flag="0">名称</td>
	            <td class="orderkey hover" key="company" flag="0">公司</td>
	            <td class="orderkey hover" key="mobile" flag="0">手机</td>
	            <td class="orderkey hover" key="email" flag="0">邮箱</td>
	            <td class="orderkey hover" key="desc" flag="0">个人信息</td>
	            <td class="orderkey hover" key="sinaweibo" flag="0">新浪微博</td>
	            <td class="orderkey hover" key="qqweibo" flag="0">腾讯微博</td>
	            <td>操作</td>
	        </tr>
	    </thead>
	    <tbody class="tablist">
	    </tbody>
	    <tfoot>
	        <tr>
	            <td colspan="9" class="tabstep">
	             </td>
	        </tr>
	    </tfoot>
	</table>
	</div>
</div>
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog"
    aria-labelledby="myModalLabel" aria-hidden="true" style="width:700px;">
    <form id="form1" class="form-horizontal">
    <input type="reset" style="display:none;" /> 
    <div class="modal-header">
        <button type="button" class="close canceldialog" 
            aria-hidden="true"  onclick="">×</button>
        <h3 id="myModalLabel">嘉宾信息 <span class="label label-success dialog_status margin10lr">新增</span><a class="btn btn-mini btn-info uploadpic margin30l">上传头像</a></h3>
    </div>
    <div class="modal-body">
            <div class="control-group">
                <label class="control-label" for="input01">头像</label>
                <div class="controls">
                    <img id="guestimg" src="<{$smarty.const.WEB_PATH}>/skin/img/user-01.png"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">名称/拼音</label>
                <div class="controls">
                    <input type="hidden" value="" id="gid">
                    <input type="text" placeholder="名称" class="input-xlarge" id="name">
                    <input type="text" placeholder="拼音" class="w80" id="pinyin">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">职位</label>
                <div class="controls">
                    <input type="text" placeholder="职位" class="input-xlarge" id="position">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">公司</label>
                <div class="controls">
                    <input type="text" placeholder="公司" class="input-xlarge" id="company">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">个人网站</label>
                <div class="controls">
                    <input type="text" placeholder="个人网站" class="input-xlarge" id="website">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">电子邮箱</label>
                <div class="controls">
                    <input type="text" placeholder="电子邮箱" class="input-xlarge" id="email">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">QQ</label>
                <div class="controls">
                    <input type="text" placeholder="QQ" class="input-xlarge" id="qq">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">手机</label>
                <div class="controls">
                    <input type="text" placeholder="手机" class="input-xlarge" id="mobile">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">个人信息</label>
                <div class="controls">
                    <!-- <input type="text" placeholder="个人信息" class="input-xlarge" id="desc"> -->
                    <textarea id="desc" style="width:368px;height:150px;"></textarea>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">新浪微博</label>
                <div class="controls">
                    <input type="text" placeholder="新浪微博" class="input-xlarge" id="sinaweibo">
                    <input type="text" placeholder="昵称" class="w80" id="sinanickname">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="input01">腾讯微博</label>
                <div class="controls">
                    <input type="text" placeholder="腾讯微博" class="input-xlarge" id="qqweibo">
                    <input type="text" placeholder="昵称" class="w80" id="qqnickname">
                </div>
            </div>
    </div>
    <div class="modal-footer">
        <span class="label label-info left dialogmsg"></span>
        <a class="btn canceldialog" aria-hidden="true">取消</a>
        <a class="btn btn-primary" aria-hidden="true" id="dialog_save">保存</a>
    </div>
    </form>
</div>
<div id="myModal2" class="modal hide fade" tabindex="-1" role="dialog"
    aria-labelledby="myModalLabel" aria-hidden="true">    
    <input type="reset" style="display:none;" /> 
    <div class="modal-header">
        <button type="button" class="close canceldialog2" 
            aria-hidden="true"  onclick="">×</button>
        <h3 id="myModalLabel">头像上传</h3>
    </div>
    <div class="modal-body">
           <div id="swfdiv">
               <div class="uploadDialog">
                   <form id="form1" action="" method="post" enctype="multipart/form-data" class="">
                       <div class="uploadList">
                           <div class="fieldset flash" id="fsUploadProgress">
                               <span class="legend">上传</span>
                           </div>
                           <div class="up_btn" style="">
                               <span id="spanButtonPlaceHolder"></span>
                               <input class="btn btn-small" id="btnCancel" type="button" value="取消上传" onclick="swfu.cancelQueue();"/> 
                               <lable id="divStatus">0 个文件已上传</lable>
                           </div>
                           <div class="margin10" style="color:#777">上传成功后,请点击确定返回编辑菜单</div>
                       </div>
                   </form>
               </div>
           </div> 
    </div>
    <div class="modal-footer">
        <span class="label label-info left dialogmsg"></span>
        <a class="btn canceldialog2" aria-hidden="true">取消</a>
        <a class="btn btn-primary" aria-hidden="true" id="upload_save">确定</a>
    </div>    
</div>
<{/block}>
<{block name=body_end}>
<script type="text/javascript">
var site = {web:"<{$smarty.const.WEB_PATH}>",page:"page",module:"my/guest",columnh:true,title:"<{$default}>",uid:"<{$user.id}>",ssid:"<{php}>echo session_id();<{/php}>"};
var mpage;
</script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/swfupload.js" type="text/javascript"></script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/swfupload.queue.js" type="text/javascript"></script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/fileprogress.js" type="text/javascript"></script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/handlers.js" type="text/javascript"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/common/util.js"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/common/page.js"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/my/guestslist.js"></script>

<{/block}>